pipeline {
  options {
    //禁止pipeline并行构建
    disableConcurrentBuilds()
    //跳过默认的代码检出
    skipDefaultCheckout()
    //pipeline超时时间-1小时
    timeout(time: 1, unit: 'HOURS')
  }
  steges{
    stage("build"){
      options {
        timeout(time: 10, unit: 'MINUTES')
        retry(3)
        timestamps()
      }
    }
  }
}